package com.cgs.query.server.controller

import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import org.springframework.beans.factory.annotation.Autowired
import com.cgs.query.service.IQueryTagService
import org.springframework.web.bind.annotation.*

@RestController
@RequestMapping("/tag")
@Api(description = "Query定义管理模块")
class QueryTagController {

    @Autowired
    private lateinit var tagService: IQueryTagService

    @GetMapping("/list")
    @ApiOperation(value = "展示标签列表")
    fun findAll() = tagService.findAll()

}

